package com.angenela.lmz.pojo;

import io.swagger.annotations.ApiModel;

@ApiModel(description = "图片的抽象类")
public class Image {
    private Integer id;
    private String src;
    private Integer star;
    private Integer userId;
    private String createTime;
    private Integer tagId;

    @Override
    public String toString() {
        return "Image{" +
                "id=" + id +
                ", src='" + src + '\'' +
                ", star=" + star +
                ", userId=" + userId +
                ", createTime='" + createTime + '\'' +
                ", tagId=" + tagId +
                '}';
    }

    public Integer getTagId() {
        return tagId;
    }

    public void setTagId(Integer tagId) {
        this.tagId = tagId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSrc() {
        return src;
    }

    public void setSrc(String src) {
        this.src = src;
    }

    public Integer getStar() {
        return star;
    }

    public void setStar(Integer star) {
        this.star = star;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
}
